forum

home / developersection / forums / add markers to a ext.map in sencha touch

Add markers to a Ext.Map in Sencha Touch

Anonymous User 4263 31-May-2013
Hi Everyone!

I am trying to make an application which displays a map with your current location marker and several markers related to data from the server which location is closed to your current location. So far I can render the map, show the current location and get the data related to this location. The problem arise when I try to add markers about the location of this data. I´ve read through a lot of forums and pages but I found no solution. I use this piece of code to add markers (to try to add them ..):

var marker = new google.maps.Marker({
                    map: map._map,
                    position: new google.maps.LatLng(bookletMarker[i].location[1],bookletMarker[i].location[0]),
                    title : bookletMarker[i].title,
                    draggable:false,
                    icon: "point.png"
                });

Thanks in advance! 


Updated on 01-Jun-2013

I am a content writter !

Can you answer this question?

Answer

1 Answers

Liked By